package oa.biz;

import java.util.List;

import oa.entity.Announcement;

public interface AnnouncementBiz {
	List<Announcement> getAll();
	List<Announcement> departmentPaper(int departmentId);
	List<Announcement> getAllIndex();
	Announcement fetchById(int id);
	List<Announcement> fetchByUser(int creatorId);
	void updateAnnoucement(Announcement announcement);
	void addAnnouncement(Announcement announcement);
	List<Announcement> fetchByStatus(int status);
}
